//
//  XYPasswordView.h
//  WBBaseProject
//
//  Created by 吴斌 on 2018/4/12.
//  Copyright © 2018年 吴斌. All rights reserved.
//

#import <UIKit/UIKit.h>
#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
#define boxWidth (SCREEN_WIDTH - 2 * kBothSidesWidth - 5 * kLineWith)/6 //密码框的宽度
#define kCorner 3.0f
#define kLineColor WB_HEX_COLOR(0x333333)
#define kRedLineColor WB_RGBColor(253, 138, 131)
#define kBothSidesWidth 60
#define kLineWith 15

@class XYPasswordView;
@protocol XYPasswordViewDelegate <NSObject>
@optional
-(void)XYPasswordView:(XYPasswordView *)view WithPasswordString:(NSString *)Password;
@end


@interface XYPasswordView : UIView <UITextFieldDelegate>
@property (nonatomic,assign)id <XYPasswordViewDelegate>XYPasswordViewDelegate;
- (id)initWithFrame:(CGRect)frame;
///标题
@property (nonatomic,strong)UILabel *lable_title;
///  TF
@property (nonatomic,strong)UITextField *TF;
/// 两次对密码是否正确
@property (nonatomic,assign) BOOL isError;
//是否是确认密码
@property (nonatomic,assign) BOOL isSurePws;
///  假的输入框
@property (nonatomic,strong)UIView *view_box;
@property (nonatomic,strong)UIView *view_box2;
@property (nonatomic,strong)UIView *view_box3;
@property (nonatomic,strong)UIView *view_box4;
@property (nonatomic,strong)UIView *view_box5;
@property (nonatomic,strong)UIView *view_box6;
///   密码点
@property (nonatomic,strong)UILabel *lable_point;
@property (nonatomic,strong)UILabel *lable_point2;
@property (nonatomic,strong)UILabel *lable_point3;
@property (nonatomic,strong)UILabel *lable_point4;
@property (nonatomic,strong)UILabel *lable_point5;
@property (nonatomic,strong)UILabel *lable_point6;
@end
